package com.syq;

import org.quartz.Scheduler;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @ClassName: test
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/15 10:49
 */


public class test {
    public static void main(String[] args) throws Exception{
        ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");

        Scheduler scheduler = ac.getBean(Scheduler.class);

        scheduler.start();

    }
}
